package com.nest4cloud.nest.account.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.nest4cloud.nest.account.entity.AccCategoriesEntity;
import com.nest4cloud.nest.account.vo.AccCategoriesVo;

import java.util.List;

public interface AccCategoriesService extends IService<AccCategoriesEntity> {

	/**
	 * 插入实体类
	 * @param accCategories 分类实体数据
	 * @return
	 */
	boolean saveEntity(AccCategoriesEntity accCategories);

	/**
	 * 根据登录用户id和分类类型查询分类数据
	 * @return 分类数据
	 */
	List<AccCategoriesVo> selectUserAccCategories(AccCategoriesEntity accCategories);
}
